package sqlx

import "database/sql/driver"

type User struct {
	ID   int64  `db:"id"`
	Name string `db:"name"`
	Age  int8   `db:"age"`
}


func (u User) Value() (driver.Value, error) {
	return []interface{}{u.Name, u.Age}, nil
}